import instance from "@/utils/http"

export const getCartData = () => {
    return instance.get('goods/cart/appGetCart')
}

export const addCartData = (goods) => {
    return instance.post('goods/cart/appAddCart',goods)
}

export const delCartData = (goods) => {
    return instance.post('goods/cart/appDelCart',goods)
}

export const mergeCartData = (goodsList) => {
    return instance.post('goods/cart/appMergeCartData',goodsList)
}